package com.erp.erp_ui.warehouse.req;

import java.math.BigDecimal;

/**
 * @ClassName : AddRentalFeeReq
 * @Description : 仓库租金费新增入参实体
 * @Author : lst
 * @Date: 2021-06-16 14:56
 */
public class AddRentalFeeReq {
    /**
     * 租金总额
     */
    private BigDecimal totalRent;
    /**
     * 分摊天数
     */
    private BigDecimal apportionedDays;
    /**
     * 每天分摊金额
     */
    private BigDecimal dailyApportionmentAmount;
    /**
     * 剩余金额
     */
    private BigDecimal balance;
    /**
     * 分摊仓库名称
     */
    private String warehouseName;
    /**
     * 分摊仓库编码
     */
    private String warehouseCode;
    /**
     * 分摊条件(1.净重 2.毛重 3.体积 4.数量)
     */
    private Integer sharingConditions;
    /**
     * 执行日期
     */
    private String executionDate;


    public BigDecimal getTotalRent() {
        return totalRent;
    }

    public void setTotalRent(BigDecimal totalRent) {
        this.totalRent = totalRent;
    }

    public BigDecimal getApportionedDays() {
        return apportionedDays;
    }

    public void setApportionedDays(BigDecimal apportionedDays) {
        this.apportionedDays = apportionedDays;
    }

    public BigDecimal getDailyApportionmentAmount() {
        return dailyApportionmentAmount;
    }

    public void setDailyApportionmentAmount(BigDecimal dailyApportionmentAmount) {
        this.dailyApportionmentAmount = dailyApportionmentAmount;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public Integer getSharingConditions() {
        return sharingConditions;
    }

    public void setSharingConditions(Integer sharingConditions) {
        this.sharingConditions = sharingConditions;
    }

    public String getExecutionDate() {
        return executionDate;
    }

    public void setExecutionDate(String executionDate) {
        this.executionDate = executionDate;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("AddRentalFeeReq").append('[')
                .append("totalRent=")
                .append(totalRent)
                .append(",apportionedDays=")
                .append(apportionedDays)
                .append(",dailyApportionmentAmount=")
                .append(dailyApportionmentAmount)
                .append(",balance=")
                .append(balance)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",warehouseCode=")
                .append(warehouseCode)
                .append(",sharingConditions=")
                .append(sharingConditions)
                .append(",executionDate=")
                .append(executionDate)
                .append(']');
        return sb.toString();
    }
}
